Docker Node.js EPIPE error

您所在的位置:网站首页 nodejs write epipe Docker Node.js EPIPE error

Docker Node.js EPIPE error

2024-07-12 14:46| 来源: 网络整理| 查看: 265

Recently, my Node.js app running inside a Docker container started crashing with the error:

Fatal error occurred. Exiting the app. (err.code=EPIPE) Error: write EPIPE at process.target._send (internal/child_process.js:806:20) at process.target.send (internal/child_process.js:676:19) at sendHelper (internal/cluster/utils.js:22:15) at send (internal/cluster/child.js:190:10) at EventEmitter.cluster._getServer (internal/cluster/child.js:89:3) at listenInCluster (net.js:1362:11) at Server.listen (net.js:1437:7)

I discovered this was caused by not allocating enough Memory and Swap in Docker Desktop > Settings > Resources > Advanced.

Once I doubled it for both, the error disappeared:



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3